package com.ccrfid.rmc6.util;

import java.util.concurrent.TimeUnit;

public class SleepUtil {
    public static void sleepSeconds(int s) {
        try {
            TimeUnit.SECONDS.sleep(s);
        } catch (InterruptedException ex) {

        }
    }

    public static void sleepMilliseconds(int ms) {
        try {
            TimeUnit.MILLISECONDS.sleep(ms);
        } catch (InterruptedException ex) {

        }
    }
}
